home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
util
/
gnu
/
textutils_1_3.LHA
/
textutils-1.3
/
cat
/
cmp.1
< prev
next >
Wrap
Text File
|
1992-09-22
|
1KB
|
67 lines
CMP(1L) MISC. REFERENCE MANUAL PAGES CMP(1L)
NAME
cmp - compare two files
SYNOPSIS
cmp [-cls] [--show-chars] [--verbose] [--silent] [--quiet]
file1 [file2]
DESCRIPTION
This manual page documents the GNU version of cmp. cmp com-
pares the two given files, and if they differ, tells the
first byte and line number where they differ. The file name
`-' is always the standard input. If one file name is omit-
ted, the standard input is used as well.
It exits with the value
0 The files are identical.
1 The files differ.
2 An error occurred.
OPTIONS
-_c, --_s_h_o_w-_c_h_a_r_s
Print the differing characters like `cat -t' (except
that newlines are printed as `^J').
-_l, --_v_e_r_b_o_s_e
Print the (decimal) offsets and (octal) values of all
differing bytes.
-_s, --_s_i_l_e_n_t, --_q_u_i_e_t
Do not print anything; only return an exit status indi-
cating whether the files differ.
The long-named options can be introduced with `+' as well as
`--', for compatibility with previous releases. Eventually
support for `+' will be removed, because it is incompatible
with the POSIX.2 standard.
Sun Release 4.1 Last change: 1